package com.ruipeng.shengyapo.dao;

import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * Created by tu_pei on 17/6/13.
 */
public interface CouponMapper {
    int addComplaint(Map<String,Object> params);

    List<Map<String,Object>> getCouponListByUserId(@Param("userId") int userId);

    int updateCouponByCouponNo(@Param("couponNo")String couponNo);
}
